<template>
  <div class="flex flex-col items-center justify-center h-full bg-base-100">
    <div class="text-center">
      <button class="btn btn-primary btn-lg" @click="startStudy">
        开始 go go go
      </button>
    </div>
  </div>
</template>

<script setup lang="ts">
const emit = defineEmits(['start']);
const startStudy = () => {
  emit('start');
};
</script>